package com.devicemantra.coordinate.dataobjects;

import javax.jdo.annotations.*;

import java.util.*;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;

@PersistenceCapable(identityType = IdentityType.DATASTORE, detachable ="true")
public class CMessageHolder 
{
	@PrimaryKey
    @Persistent
    private Key mKey;
	
	@Persistent 
	private String mMessage;
	
	@Persistent
	private List<String> mFrameIdList;
		
	public CMessageHolder()
	{
		
	}
	
	public void setMessage(String pMessage)
	{
		mMessage = pMessage;
	}
	
	public String getMessage()
	{
		return mMessage;
	}
		
	/* Get individual frames selected */
	public List<String> getCFrames()
	{
		return mFrameIdList;
	}
	
	public void setFrameIdList(List<String> pFrameIdList)
	{
		mFrameIdList = pFrameIdList;
	}
}
